<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');
include_once ('AlibabaTradeRefundOpQueryBatchRefundByOrderIdAndStatusParam/AlibabaTradeRefundOpOrderRefundModel.class.php');

class AlibabaTradeRefundOpQueryBatchRefundByOrderIdAndStatusResultModel extends SDKDomain {

       	
    private $opOrderRefundModels;
    
        /**
    * @return 退款单信息
    */
        public function getOpOrderRefundModels() {
        return $this->opOrderRefundModels;
    }
    
    /**
     * 设置退款单信息     
     * @param array include @see AlibabaTradeRefundOpOrderRefundModel[] $opOrderRefundModels     
     * 参数示例：<pre>{}</pre>     
     * 此参数必填     */
    public function setOpOrderRefundModels(AlibabaTradeRefundOpOrderRefundModel $opOrderRefundModels) {
        $this->opOrderRefundModels = $opOrderRefundModels;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "opOrderRefundModels", $this->stdResult )) {
    			$opOrderRefundModelsResult=$this->stdResult->{"opOrderRefundModels"};
    				$object = json_decode ( json_encode ( $opOrderRefundModelsResult ), true );
					$this->opOrderRefundModels = array ();
					for($i = 0; $i < count ( $object ); $i ++) {
						$arrayobject = new ArrayObject ( $object [$i] );
						$AlibabaTradeRefundOpOrderRefundModelResult=new AlibabaTradeRefundOpOrderRefundModel();
						$AlibabaTradeRefundOpOrderRefundModelResult->setArrayResult($arrayobject );
						$this->opOrderRefundModels [$i] = $AlibabaTradeRefundOpOrderRefundModelResult;
					}
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    		if (array_key_exists ( "opOrderRefundModels", $this->arrayResult )) {
    		$opOrderRefundModelsResult=$arrayResult['opOrderRefundModels'];
    			$this->opOrderRefundModels = new AlibabaTradeRefundOpOrderRefundModel();
    			$this->opOrderRefundModels->setStdResult ( $opOrderRefundModelsResult);
    		}
    		    	    		}
 
   
}
?>